#ifndef _PUBLISHER_H_
#define _PUBLISHER_H_

/*
	class : Publisher
	desc : Simple interface for implementing the publisher
		design pattern.
*/
template<typename Request>
class Publisher
{
	public:
		//this publishes a given command to the queue
		virtual void publish(Request* c)=0;
		//sends the actual request.
		virtual void sendRequest()=0;
};



#endif
